This triggers the new git warning; I think this is only
here because long ago we used coreos-assembler as a buildroot,
but that's long since fixed.
stage("Build") {
parallel normal: {
def n = 5
- buildPod(runAsUser:0, memory: "2Gi", cpu: "${n}") {
+ buildPod(memory: "2Gi", cpu: "${n}") {
checkout scm
stage("Core build") {
shwrap("""
},
// A minimal build, helps test our build options
minimal: {
- buildPod(runAsUser:0) {
+ buildPod() {
checkout scm
shwrap("""
git submodule update --init
}
},
codestyle: {
- buildPod(runAsUser:0) {
+ buildPod() {
checkout scm
shwrap("""
# Jenkins by default only fetches the branch it's testing. Explicitly fetch main